Generic algorithms for halting problem and optimal machines revisited

نویسندگان

  • Laurent Bienvenu
  • Damien Desfontaines
  • Alexander Shen
چکیده

A classical result says that the halting problem is undecidable: there is no algorithm that, given a computation, says whether it terminates or not. A related result says that for some computations the termination statement is undecidable in Gödel’s sense (neither provable nor refutable). Still in many cases the termination question is not that hard. Maybe, the difficult cases are rare exceptions and for most cases the answer can be obtained effectively (and even easily)? This question, while natural, is difficult to formulate. For the qualitative questions it does not matter which computational model or programming language we use in the formulation of the halting problem. Technically speaking, all reasonable formulations lead to m-complete computably enumerable sets, and all m-complete sets are computably isomorphic (Myhill isomorphism theorem, see, e.g., [15]). However, for quantitative questions the choice of the programming language is very important: it is easy to imagine some universal programming language for which most programs terminate (or hang) for some trivial reasons. One may try to fix some computational model or programming language. For example, we may consider Turing machines with a fixed alphabet, and then ask whether there exists an approximation algorithm for the halting problem, whose success rate among all machines with n states converges to 1 as n→ ∞. This question, however, is sensitive to the details of the definition. For example, it was shown in [8] that for Turing machines with one-sided tape the success rate may converge to 1: speaking informally, this happens because most machines fall off the tape rather quickly. This argument, however, does not work for two-sided tape machines, for which the similar question remains open. Looking for more invariant statements, one should put some restrictions on the way the computations are encoded, and these restrictions could be quite technical. For example, in [16, 9] numberings of computable functions are considered where each function occupies a Ω(1)-fraction of n-bit programs for all sufficiently large n, together with encodings for pairs that have some special property. However, already in [12] a more natural requirement for the programming language (motivated by the algorithmic information theory) was suggested. We show (Section 3) that results about approximate algorithms for halting problem from [16, 9] remain true in this simple setting, and can be easily proved using Kolmogorov complexity. Moreover, they remain true for a weaker requirement than used in [17, 12]; we discuss it (and some related questions) in Section 2. The next three sections (Sections 4–6) are devoted to different questions related to halting problem and its approximate solutions. In Section 4 we consider the fraction of terminating programs among all programs of length at most n. We prove that this fraction has no limit as n→ ∞, and limit points are Martin-Löf random reals (even relative to 0′). We prove that the limsup of this fraction is an upper semicomputable 0′-random number and every number of this

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Some improvements in fuzzy turing machines

In this paper, we improve some previous definitions of fuzzy-type Turing machines to obtain degrees of accepting and rejecting in a computational manner. We apply a BFS-based search method and some level’s upper bounds to propose a computational process in calculating degrees of accepting and rejecting. Next, we introduce the class of Extended Fuzzy Turing Machines equipped with indeterminacy s...

متن کامل

Two meta-heuristic algorithms for parallel machines scheduling problem with past-sequence-dependent setup times and effects of deterioration and learning

This paper considers identical parallel machines scheduling problem with past-sequence-dependent setup times, deteriorating jobs and learning effects, in which the actual processing time of a job on each machine is given as a function of the processing times of the jobs already processed and its scheduled position on the corresponding machine. In addition, the setup time of a job on each machin...

متن کامل

Appling Metaheuristic Algorithms on a Two Stage Hybrid Flowshop Scheduling Problem with Serial Batching (RESEARCH NOTE)

In this paper the problem of serial batch scheduling in a two-stage hybrid flow shop environment with minimizing Makesapn is investigated. In serial batching it is assumed that jobs in a batch are processed serially, and their completion time is defined to be equal to the finishing time of the last job in the batch. The analysis and implementation of the prohibited transference of jobs among th...

متن کامل

Algorithmic Problem Complexity

People solve different problems and know that some of them are simple, some are complex and some insoluble. The main goal of this work is to develop a mathematical theory of algorithmic complexity for problems. This theory is aimed at determination of computer abilities in solving different problems and estimation of resources that computers need to do this. Here we build the part of this theor...

متن کامل

A comparison of algorithms for minimizing the sum of earliness and tardiness in hybrid flow-shop scheduling problem with unrelated parallel machines and sequence-dependent setup times

In this paper, the flow-shop scheduling problem with unrelated parallel machines at each stage as well as sequence-dependent setup times under minimization of the sum of earliness and tardiness are studied. The processing times, setup times and due-dates are known in advance. To solve the problem, we introduce a hybrid memetic algorithm as well as a particle swarm optimization algorithm combine...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Logical Methods in Computer Science

دوره 12  شماره 

صفحات  -

تاریخ انتشار 2015